#ifndef CLIENTENTITY_H
#define CLIENTENTITY_H

#include "utilities.h"
#include <QVector2D>
#include <QList>
#include <QMap>
#include <QQueue>

class ClientEntity
{
public:
   ClientEntity();
   typedef QList<ClientEntity*> ClientEntityListType;
   typedef QMap<qint32, ClientEntity *> ClientEntityMapType;

   quint32 id;
   quint32 playerID;
   quint32 squadID;
   EntityBaseStats base;
   QVector2D pos;
   QVector2D vel;
   qreal rotation;
   qint32 health;

   // Emitter
   QQueue<EntitySquadType> emitterContents;
   quint32 emitterCapacity;
   qreal emitterRate;
   QPointF emitterPos;
   QString emitterPath;


   ClientEntity *target;
};

#endif // CLIENTENTITY_H
